From: velemas Date: Tue, 6 Dec 2016 19:17:43 +0000 (+0300) Subject: platform/x86: ideapad-laptop: Add Y700 15-ACZ to no_hw_rfkill DMI list X-Git-Tag: archive/raspbian/4.9.82-1+deb9u3+rpi1_jessie~8^2~98 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com//%22stanciumarius94%40gmail.com/%22/%22http:/www.example.com/%22stanciumarius94%40gmail.com/%22?a=commitdiff_plain;h=5142e16e92fece6b9fb93118cd4d0fc995330e59;p=linux-4.9.git platform/x86: ideapad-laptop: Add Y700 15-ACZ to no_hw_rfkill DMI list Like other Y700 models Lenovo Y700 15-ACZ does not have a physical rfkill switch. ideapad-laptop wrongly reports all radios as blocked by hardware which causes wireless network connections to fail. Add this model without an rfkill switch to the no_hw_rfkill list. Signed-off-by: Artiom Vaskov Signed-off-by: Andy Shevchenko Gbp-Pq: Topic bugfix/x86 Gbp-Pq: Name platform-x86-ideapad-laptop-add-y700-15-acz-to-no_hw.patch --- diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 2f1615e00cb4..f46ece2ce3c4 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -871,6 +871,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"), }, }, + { + .ident = "Lenovo ideapad Y700-15ACZ", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ACZ"), + }, + }, { .ident = "Lenovo ideapad Y700-15ISK", .matches = {